<?php
/**
 * Created by PhpStorm.
 * User: pankajmishra
 * Date: 20/12/14
 * Time: 11:49 AM
 */

namespace ApplicationTest;

use Application\Model\Dao\GraphDao;
use Application\Model\Dao\UserDao;
use Application\Service\EmailService;
use Application\Service\XmlService;
use Zend\Config\Reader\Xml;
use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;


class EmailTest /* extends AbstractHttpControllerTestCase */
{
    public function setUp()
    {
        $this->setApplicationConfig(
            include '/Users/pankajmishra/source/myproj/bhaibandhu/config/application.config.php'
        );
        parent::setUp();
    }


    public function testEmail(){
       $emailService = new EmailService();
        date_default_timezone_set('UTC');
        echo 'sending email';
        $emailService->sendEmail('mishraawake@gmail.com','mishraawake@gmail.com','hi','php testing');
    }

}

